package com.cdu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdu.model.common.BaseResponse;
import com.cdu.model.query.NewsQuery;
import com.cdu.pojo.News;
import com.cdu.pojo.SysLog;
import net.sf.json.JSONObject;

/**
 * projectName : easy-help-v2
 *
 * @author :lql
 * date: 2022 -05 -19
 */
public interface NewsService extends IService<News> {
    public BaseResponse queryAllNews(NewsQuery newsQuery);

    public BaseResponse createNews(JSONObject ido);

    public BaseResponse queryNewById(NewsQuery newsQuery);

    public BaseResponse updateNews(JSONObject ido);

    public BaseResponse delNewsById(NewsQuery newsQuery);

    public BaseResponse detailNews(NewsQuery newsQuery);
}
